<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="__CSS__/style_forum.css">
    <link rel="stylesheet" href="__CSS__/reset.css">
    <link rel="stylesheet" href="__ACSS__/alogin.css">
    <link rel="stylesheet" href="__ACSS__/binmesdeal.css">
    <title>帖子回收站管理 - ThinkPHP后台管理</title>
    <script type="text/javascript" src="__JS__/jquery-3.4.1.min.js"></script>
    <script type="text/javascript" src="__JS__/loadinghtml.js"></script>
    <script src="__JS__/del.js"></script>
</head>

<body>
    <div id="header" class="top">
        <div id="hd-main">
            <a id="alink" href="../../forum_guzp/guzp.html" title="返回首页"></a>
            <ul id="main-nav">
                <li ><a href="{:url('deal/mesdeal')}">帖子管理</a></li>
                <li><a href="{:url('deal/secdeal')}">版块管理</a></li>
                <li style="background-color: #656565"><a href="{:url('bindeal/binmesdeal')}">回收站管理</a></li>
                <li><a href="{:url('adv/boxdeal')}">轮播图管理</a></li>
                <li><a href="{:url('admin/apa')}">修改密码</a></li>
                <li><a href="{:url('admin/alogout')}">注销</a></li>
            </ul>
            <div id="header-bar">
                {eq name=':session("auser")' value=''}
                <h3>欢迎你，请登录</h3>
                <div id="userloginmes">
                    <a href="{:url('admin/alogin')}" id="unlogin">
                        <b></b>
                    </a>
                    <ul>
                        <li><a href="{:url('admin/alogin')}">登录</a></li>
                    </ul>
                </div>
                {else/}
                <h3>欢迎你，{:session('auser')}</h3>
                <div id="userloginmes">
                    <a href="" id="unlogin">
                        <b></b>
                    </a>
                    <ul>
                        <li><a href="{:url('admin/alogout')}">退出</a></li>
                    </ul>
                </div>
                {/eq}
            </div>
        </div>
    </div>
    <div id="main">
        <!-- 选择回收站 -->
        <div class="recycler-top1">
            <span>选择回收站:</span>
            <a href="{:url('bindeal/binsecdeal')}">板块回收站管理</a>
            <a style="background-color: #9b8d8d;" href="{:url('bindeal/binmesdeal')}">帖子回收站管理</a>
            <a  href="{:url('bindeal/binresdeal')}">回复回收站管理</a>
        </div>
        <!-- 选择板块 -->
        <div class="recycler-top2">
            <span>选择板块:</span>
            <a  href="">ThinkPHP6专区</a>
            <a href="">ThinkPHP5专区</a>
            <a href="">求助交流</a>
            <a href="">技术分享</a>
        </div>
        <!-- 模糊查询 -->
        <div class="recycler-top3">
            <div style="line-height: 27px;">
                <h4>当前板块：ThinkPHP5专区</h4>
            </div>
            
            <div class="find">
                <form action="{:url('bindeal/binmesdeal')}" method="POST">
                <input class="input" name="find" type="text" placeholder="请输入要查询的内容">
                <input type="submit"  value="搜索" class="submit">
                </form>
            </div>
            
        </div>
        <!-- 显示帖子 -->
        <div class="main-conter" >
            <table >
                <tr id="first">
                    <th>序号</th>
                    <th>标题</th>
                    <th>发布时间</th>
                    <th>作者</th>
                    <th>进入回收站时间</th>
                    <th>操作</th>
                    <th>放入回收站原因</th>
                </tr>
                {volist name="mes" id="mesRow" key='i'}
                <tr>
                    <td>{$i}</td>
                    <td>{$mesRow.m_title}</td>
                    <td>{$mesRow.m_createat|date="Y-m-d h:i:s a"}</td>
                    <td>{$mesRow.u_nick}</td>
                    <td>{$mesRow.mrecycle_time|date="Y-m-d h:i:s a"}</td>
                    <td>
                        {if ($mesRow.article_is_delete == 2)}
                            <a href="{:url('bindeal/mesDuction',['m_id' => $mesRow.m_id])}">还原</a> |
                        {/if}
                        <a href="{:url('bindeal/binmesdel',['m_id'=> $mesRow.m_id])}" onclick="return del()">彻底删除</a>
                    </td>
                    <td>{$mesRow.m_reason}</td>
                </tr>
                {/volist}
            </table>
        </div>
        <div class="secdeal-page">
            <nav id="page1">{$page | raw}</nav>
        </div>
    </div>
    <div id="footer"></div>
</body>

</html>